<?php
// define array
$meats = array(
    'fish',
    'chicken',
    'ham',
    'lamb'
);
// change 'ham' to 'turkey'
$meats[2] = 'turkey';
echo "<pre>";
print_r($meats);
